// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import vuex from 'vuex'
import axios from './ajax/ajax'
import host from './ajax/config'
import VueScroller from 'vue-scroller'
Vue.use(VueScroller)
Vue.use(vuex);
Vue.prototype.$axios = axios;
Vue.prototype.$host = host;
Vue.config.productionTip = false
//收藏
Vue.filter('is_Del', function (t) {
	if (t) {
	    return 'collect_item delecting'
	} else {
	    return 'collect_item'
	  }
});
var is_Del = Vue.filter('is_Del')
Vue.filter('is_Del_icon_show', function (t) {
        if (t) {
            return 'del_icon del_icon_show'
        } else {
            return 'del_icon '
        }
    })
var is_Del_icon_show = Vue.filter('is_Del_icon_show')
import store from './store';
import '../static/animate.css'
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
